package model;

public class Wechat {
    private String wechat_id;
    private Long   u_id;

    public Wechat() {
    }

    public Wechat(String wechat_id, long u_id) {
        this.wechat_id = wechat_id;
        this.u_id = u_id;
    }

    public Wechat(Object[] rowRec) {
        this.wechat_id = (String) rowRec[0];
        this.u_id = (Long) rowRec[1];
    }

    public String getWechat_id() {
        return wechat_id;
    }

    public void setWechat_id(String wechat_id) {
        this.wechat_id = wechat_id;
    }

    public Long getU_id() {
        return u_id;
    }

    public void setU_id(Long u_id) {
        this.u_id = u_id;
    }

    @Override
    public String toString() {
        return "Wechat{" +
                "wechat_id='" + wechat_id + '\'' +
                ", u_id=" + u_id +
                '}';
    }
}
